package ch.usi.inf.pf2.editor;

/**
 * Just create a "nothing done" action that can be used 
 * 
 * @author Lorenzo Baracchi
 *
 */
public class NullAction extends Action
{
	/**
	 * Create the NullAction
	 */
	public NullAction ()
	{
		super();
	}
	
	/**
	 * Return if the two are equals
	 */
	public boolean equals (Object o)
	{
		return (o instanceof NullAction);
	}

    @Override
    public void evaluate()
    {
	   //nothing to do
    }

    @Override
    public void restore()
    {
	   //nothing to do
    }
	
	
}
